<html>
<head><meta charset="utf-8"><title>emacs as IDE · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html">emacs as IDE</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="151104919"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151104919" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151104919">(Dec 07 2018 at 11:31)</a>:</h4>
<p>hey <span class="user-mention" data-user-id="116009">@nikomatsakis</span> , you said you use eglot as your way to leverage RLS in Emacs, right?</p>



<a name="151104967"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151104967" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151104967">(Dec 07 2018 at 11:32)</a>:</h4>
<p>yes</p>



<a name="151104976"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151104976" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151104976">(Dec 07 2018 at 11:32)</a>:</h4>
<p>do you customize it at all, e.g. disable documentation on hover or whatnot?</p>



<a name="151104983"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151104983" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151104983">(Dec 07 2018 at 11:32)</a>:</h4>
<p>I...forget</p>



<a name="151104986"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151104986" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151104986">(Dec 07 2018 at 11:32)</a>:</h4>
<p>I've not had occasion to use it recently</p>



<a name="151104991"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151104991" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151104991">(Dec 07 2018 at 11:32)</a>:</h4>
<p>given that I am running in <code>emacs -nox</code>, some of that stuff maybe doesn't apply</p>



<a name="151104992"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151104992" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151104992">(Dec 07 2018 at 11:32)</a>:</h4>
<p>I ask because I noticed that out of the box, it seems to try to render the full doc in the minibuffer</p>



<a name="151105008"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151105008" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151105008">(Dec 07 2018 at 11:33)</a>:</h4>
<p>I don't seem to have a lot of customization in my .emacs file</p>



<a name="151105009"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151105009" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151105009">(Dec 07 2018 at 11:33)</a>:</h4>
<p>(when I have my cursor on a method that has doc available, e.g. <code>elems.next()</code></p>



<a name="151105011"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151105011" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151105011">(Dec 07 2018 at 11:33)</a>:</h4>
<p>yeah, I think it maybe does that</p>



<a name="151105017"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151105017" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151105017">(Dec 07 2018 at 11:33)</a>:</h4>
<p>sounds potentially annoying :)</p>



<a name="151105022"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151105022" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151105022">(Dec 07 2018 at 11:33)</a>:</h4>
<p>the behavior I am observing is not ideal because the doc is so long that it doesn't actually show the full text. it just shows the suffix.</p>



<a name="151105028"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151105028" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151105028">(Dec 07 2018 at 11:33)</a>:</h4>
<p>which is just a series of examples from the ## Examples section.</p>



<a name="151105074"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151105074" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151105074">(Dec 07 2018 at 11:34)</a>:</h4>
<p>(I'd probably prefer the first couple of lines of doc plus a hyperlink to the rest...)</p>



<a name="151105095"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151105095" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151105095">(Dec 07 2018 at 11:35)</a>:</h4>
<p>ah, this is due to eldoc-mode</p>



<a name="151105182"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151105182" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151105182">(Dec 07 2018 at 11:36)</a>:</h4>
<blockquote>
<p>the behavior I am observing is not ideal because the doc is so long that it doesn't actually show the full text. it just shows the suffix.</p>
</blockquote>
<p>lolol</p>



<a name="151105183"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151105183" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151105183">(Dec 07 2018 at 11:36)</a>:</h4>
<p>perfect</p>



<a name="151105221"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151105221" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151105221">(Dec 07 2018 at 11:37)</a>:</h4>
<p>okay so this was very easy to disable locally (just do <code>M-x eldoc-mode</code> to toggle it off). Now I just need to track down whether eldoc-mode is being enabled by eglot by default, or if its is being caused by some interaction with some other customization I have in place...</p>



<a name="151178181"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151178181" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151178181">(Dec 08 2018 at 13:58)</a>:</h4>
<p>FWIW, I use LSP-mode with emacs in nox mode as well.</p>



<a name="151178194"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151178194" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151178194">(Dec 08 2018 at 13:59)</a>:</h4>
<p>(Which caused me to  find a bug in the current stable version of emacs, amusingly)</p>



<a name="151178197"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151178197" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151178197">(Dec 08 2018 at 13:59)</a>:</h4>
<p>Here's the bottom half of my screen</p>
<p><a href="/user_uploads/4715/LklTen3CBk-JH14PUon8fTYL/pasted_image.png" target="_blank" title="pasted_image.png">pasted image</a></p>
<div class="message_inline_image"><a href="/user_uploads/4715/LklTen3CBk-JH14PUon8fTYL/pasted_image.png" target="_blank" title="pasted image"><img src="/user_uploads/4715/LklTen3CBk-JH14PUon8fTYL/pasted_image.png"></a></div>



<a name="151178246"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151178246" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151178246">(Dec 08 2018 at 14:01)</a>:</h4>
<p>The docs do appear to be the end, so it may be a common eldoc issue</p>



<a name="151178254"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151178254" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151178254">(Dec 08 2018 at 14:01)</a>:</h4>
<p>So if you figure that out...</p>



<a name="151225145"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151225145" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> blitzerr <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151225145">(Dec 09 2018 at 15:09)</a>:</h4>
<p>You guys are talking about using RLS with emacs for projects other than rustc development?</p>



<a name="151237124"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151237124" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151237124">(Dec 09 2018 at 21:35)</a>:</h4>
<p>I feel like I've opened rust-lang/rust in emacs and seen RLS-related information. I haven't put any effort into seeing if it's correct or not though.</p>



<a name="151292489"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151292489" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> gnzlbg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151292489">(Dec 10 2018 at 18:14)</a>:</h4>
<p>I use spacemacs and I currently disable the RLS because it hangs for too long every now and then (~5 second freezes). I also had to disable the electric parens mode because of the same issue, particularly while editing &gt;1kLOC files, or macros.</p>



<a name="151401267"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/emacs%20as%20IDE/near/151401267" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/emacs.20as.20IDE.html#151401267">(Dec 10 2018 at 21:05)</a>:</h4>
<p>I only have slowdowns when first opening a project as RLS spins up</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>